﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domin
{
    [Table("RolePowers")]
    public class RolePowers
    {
        [Key]
        public int OId { get; set; }
        public int RId { get; set; }
        public int WId { get; set; }
        [ForeignKey("RId")]
        public virtual Roles Roles { get; set; }
        [ForeignKey("WId")]
        public virtual Powers Powers { get; set; }
    }
}
